#ifndef _FIND_H
#define _FIND_H
#include <gtk/gtk.h>
#include "clist.h"
#include "file.h"
struct  findinfo_struct {
	struct file_ctrl *global_file;
	GtkWidget *window;
	struct clist_struct *clist;
	
	GtkWidget *label_name;
	GtkWidget *label_mail;
	GtkWidget *label_help;
	GtkWidget *label_cancel;
	GtkWidget *label_ok;
	
	GtkWidget *entry_name;
	GtkWidget *entry_mail;
	
	GtkWidget *button_help;	
	GtkWidget *button_cancel;
	GtkWidget *button_ok;	
};
extern struct findinfo_struct findinfo;

GtkWidget* create_window_find_info (struct findinfo_struct *find,struct clist_struct *clist);

void
on_window_find_info_destroy            (GtkObject       *object,
                                        gpointer         user_data);

void
on_button_find_info_help_clicked       (GtkButton       *button,
                                        gpointer         user_data);

void
on_button_find_info_cancel_clicked     (GtkButton       *button,
                                        gpointer         user_data);

void
on_button_find_info_ok_clicked         (GtkButton       *button,
                                        gpointer         user_data);

static void handle_for_create_window_find(gpointer user_data)
{
	findinfo.window=(GtkWidget *)create_window_find_info(&findinfo,&clist);
	gtk_widget_show(findinfo.window);
}
#endif //_FIND_H                                        
